package com.wr.auth.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;


/**
 * @author MyPC
 */
@Data
@Schema(description = "注册表单")
public class RegisterForm {

    @Schema(description = "账号（必填）")
    @NotEmpty(message = "请填写账号")
    private String uk;

    @Schema(description = "密码（账号密码注册必填）")
    private String pk;

    @Schema(description = "确认密码（账号密码注册必填）")
    private String cpk;

    @Schema(description = "rsa秘钥id（加密传输的秘钥id索引）")
    private String rkId;
}
